package github.aloofcoder.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import github.aloofcoder.common.utils.PageUtils;
import github.aloofcoder.gulimall.ware.entity.PurchaseEntity;
import github.aloofcoder.gulimall.ware.vo.MergePurchaseVo;
import github.aloofcoder.gulimall.ware.vo.PurchaseFinishVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author hanle
 * @email hanl1946@163.com
 * @date 2020-12-04 09:55:07
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceivePurchase(Map<String, Object> params);

    void mergePurchase(MergePurchaseVo vo);

    void receivedPurchase(List<Long> purchaseIds);

    void done(PurchaseFinishVo doneVo);
}

